package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.GoodVo;
import com.atguigu.jxc.entity.SaleData;
import com.atguigu.jxc.entity.SaleDataVo;
import org.springframework.stereotype.Service;
import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.SaleList;

import java.util.Map;

import java.util.List;


public interface SaleListGoodsService {

    List<GoodVo> count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);

    List<SaleDataVo> getSaleDataByDay(String sTime, String eTime);

    List<SaleDataVo> getSaleDataByMonth(String sTime, String eTime);

    // 支付结算（修改销售单付款状态）
    void updateState(Integer saleListId);

    Map<String, Object> list(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);

    Map<String, Object> goodsList(Integer saleListId);

    ServiceVO delete(Integer saleListId);

    ServiceVO save(SaleList saleList, String saleListGoodsStr);

}
